package cn.wolfcode.shop.api.service;

import cn.wolfcode.shop.api.domain.OrderInfo;
import cn.wolfcode.shop.api.query.PageResult;
import cn.wolfcode.shop.api.query.QueryObject;

import java.util.List;

public interface IOrderinfoService {

    int update(OrderInfo orderInfo);

    List<OrderInfo> getAll();

    OrderInfo get(Long id);

    PageResult query(QueryObject qo);

    void changeOrderStatus(Long id, Byte state, String remark, String deliverSn);

    void productUpdate(OrderInfo orderInfo);

    void orderInfoUpdate(OrderInfo orderInfo);
}
